package com.bjwl.dao;

import com.bjwl.pojo.Partment;
import com.bjwl.pojo.ServiceProject;
import com.bjwl.pojo.vo.BasicQueryVo;
import com.bjwl.utils.PageBean;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: dzx
 * @Date:Create：in 2020/5/6 9:39
 * @Description:
 * @Modified By：
 * @Version: 1.0
 */
@Repository
public interface ServiceProjectMapper {

    public int getTotalRecord(BasicQueryVo vo);

    List<ServiceProject> findAllServiceProject(PageBean<ServiceProject> pageBean, BasicQueryVo vo);

    ServiceProject findServiceProject(String servproject);

    void addServiceProject(ServiceProject serviceProject);

    ServiceProject findServiceProjectById(Integer id);

    Integer updateServiceProject(ServiceProject serviceProject);

    void deleteServiceProject(Integer id);
}
